// webpack打包的主入口文件
import router from './router'
let pathname = location.hash ? (location.hash.slice(1) == '/' ? '/home' : location.hash.slice(1)) : '/home'
router.go(pathname)